\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{textcomp}
\usepackage[table]{xcolor}

% NLS support packages
\usepackage[ngerman]{babel}

% Font selection
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
\renewcommand{\familydefault}{\sfdefault}
\allsectionsfont{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\renewcommand{\DoxyLabelFont}{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2.5cm,%
  bottom=2.5cm,%
  left=2.5cm,%
  right=2.5cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@parafont%
  }%
}
\renewcommand{\subparagraph}{%
  \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@subparafont%
  }%
}
\makeatother

% Headers & footers
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Erzeugt am Don Dez 12 2013 10\-:16\-:08 für Homework Hub von Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Erzeugt am Don Dez 12 2013 10\-:16\-:08 für Homework Hub von Doxygen }}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}

% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\makeindex

% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex,pagebackref=true]{hyperref}
\else
  \usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
  colorlinks=true,%
  linkcolor=blue,%
  citecolor=blue,%
  unicode%
}

% Custom commands
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}


%===== C O N T E N T S =====

\begin{document}

% Titlepage & ToC
\hypersetup{pageanchor=false}
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large Homework Hub }\\
\vspace*{1cm}
{\large Erzeugt von Doxygen 1.8.5}\\
\vspace*{0.5cm}
{\small Don Dez 12 2013 10:16:08}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{Verzeichnis der Namensbereiche}
\input{namespaces}
\chapter{Hierarchie-\/\-Verzeichnis}
\input{hierarchy}
\chapter{Klassen-\/\-Verzeichnis}
\input{annotated}
\chapter{Dokumentation der Namensbereiche}
\input{namespace_dbz}
\input{namespace_dbz_1_1_homework_hub}
\input{namespace_dbz_1_1_homework_hub_1_1_core}
\input{namespace_dbz_1_1_homework_hub_1_1_core_1_1_common}
\input{namespace_dbz_1_1_homework_hub_1_1_core_1_1_entities}
\input{namespace_dbz_1_1_homework_hub_1_1_core_1_1_repositories}
\input{namespace_dbz_1_1_homework_hub_1_1_frontend}
\input{namespace_dbz_1_1_homework_hub_1_1_frontend_1_1_attributes}
\input{namespace_dbz_1_1_homework_hub_1_1_frontend_1_1_common}
\input{namespace_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers}
\input{namespace_dbz_1_1_homework_hub_1_1_frontend_1_1_models}
\chapter{Klassen-\/\-Dokumentation}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_account_controller}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_models_1_1_account_model}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_admin_controller}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_base_controller}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_models_1_1_base_model}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_base_repository_3_01_entity_type_01_4}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_business_objects}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_models_1_1_current_user_model}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_home_controller}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_homework}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_homework_controller}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_homework_repository}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_models_1_1_login_model}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_mvc_application}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_models_1_1_register_model}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_solution}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_solution_controller}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_solution_repository}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_solution_state}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_solution_state_repository}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_solution_type}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_solution_type_repository}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_topic}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_controllers_1_1_topic_controller}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_models_1_1_topic_model}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_topic_repository}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_user}
\input{class_dbz_1_1_homework_hub_1_1_frontend_1_1_attributes_1_1_user_context_attribute}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_entities_1_1_user_rank}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_user_rank_repository}
\input{class_dbz_1_1_homework_hub_1_1_core_1_1_repositories_1_1_user_repository}
%--- End generated contents ---

% Index
\newpage
\phantomsection
\addcontentsline{toc}{part}{Index}
\printindex

\end{document}
